home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 May: Tool Chest / Dev.CD May 97 TC.toast / Sample Code / Snippets / QuickDraw / CalcCMask & CalcMask / ReadMe < prev   
Encoding:
Text File  |  1996-09-17  |  700 b   |  22 lines  |  [TEXT/CWIE]

  1.  
  2.     Application:    CalcCMask & CalcMask
  3.  
  4.     Description:    This snippet shows how to use both CalcCMask or
  5.                     CalcMask to create a mask given a source bitmap
  6.                     image.  As decribed on pages IV-24 and V-72 of
  7.                     Inside Mac, the two routines compute a destination
  8.                     bitmap image with 1's only in the pixels where
  9.                     paint can not leak from any of the outer edges,
  10.                     This is similar to the lasso tool found in many
  11.                     drawing apps.
  12.  
  13.     File:            CalcCMask & CalcMask.π
  14.                     CalcCMask & CalcMask.c
  15.                     CalcCMask & CalcMask.π.rsrc
  16.  
  17.     Programmer:        Edgar Lee
  18.     Organization:    Apple Computer, Inc.
  19.     Department:        Developer Technical Support, DTS
  20.     Language:        C (Think C version 5.0.1)
  21.     Date Created:    2-26-92
  22.